[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Invocation               Call a Subprogram                     Statement Type

 <name><parameters>;

    Passes the indicated parameters to a procedure, which then executes.
    Once the procedure is finished executing, then execution continues at
    the statement following the invocation.

             <name>   A previously declared procedure; can include any
                      enclosing procedure, including the procedure itself.

       <parameters>   An optional list of expressions, enclosed in
                      parentheses and separated by commas, forming the
                      actual parameters of the procedure call; must agree
                      in type and number with the formal parameters. If
                      the procedure has no parameters, then the
                      parentheses are omitted.

  -------------------------------- Example ---------------------------------

           Swap(I,J);
           Writeln('This is a test');
           Sort(List,Cnt);
           HandleUpdate;

See Also: parameters procedures subprograms
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson